package com.peng.edu.client;

import com.peng.edu.entity.user.UcenterMember;
import com.peng.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;


@Component
@FeignClient("service-user")
public interface UserClient {
    @GetMapping("/ucenter/member/getUserInfoClient/{id}")
    public UcenterMember getUserInfoClient(@PathVariable("id")String id);

}
